Release 10.1A: OpenEdge Development:
Progress Dynamics Advanced Development
Object type table
The
Object Typetablegsc_object_typereally defines an object class. Object types are, in principle, hierarchical, so that an object type can inherit from other object types to define subclasses of other objects. Although this capability is not yet fully implemented in Progress Dynamics Version 2, the data structure is there to support it, and future releases will allow both the Progress Dynamics development team and application developers to define object types by subclassing other object types.In the ADM2 code itself, of course, this is already done for SmartObjects, so that a SmartObject type, such as a SmartDataViewer, is defined in terms of a class hierarchy starting with
smart.pand continuing down throughvisual.p,datavis.p, andviewer.p, and optionallycontainer.p, if the viewer contains SmartDataFields. However, this hierarchy is not yet represented in the Repository itself and is defined by the nested include files that are part of the SmartObject’s code-based definition. What will happen in the future is that the definition of this hierarchy will be fully represented in the Repository itself, so that there is no need for the code that is currently compiled into the SmartObjects, including the procedures that act as drivers for objects defined in the Repository. When this happens, it will also be possible to define objects other than SmartObjects in the same hierarchical fashion, such as a class of widget, then a fill-in that extends the class of widget with specific attributes for fill-ins, then a class of date fill-ins, etc.Object types are also used to define default values for many object attributes or properties, which are inherited by every object of that type that is created.
The gsc_object_type table has the fields described in Table 8–1.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |